﻿namespace GameLib.Preferences
{
    using Nap;
    using Nap.Event;

    public abstract class AbstractPreferencesNode
    {
        #region Members

        public IPreferencesNode Node
        {
            get;
            protected set;
        }

        public void AddPreferenceHandler(PreferenceChangeEventHandler handler)
        {
            Node.PreferenceChanged += handler;
        }

        #endregion
    }
}